qui(
	function(require, exports, module){

        Sginal.Action = (function() {
			var sginalGrid = null;
            var getSginalGrid = function(options) {
                if (!sginalGrid) {

                    sginalGrid = new Sginal.Grid($.extend(true, {
                        '$container': $('#SginalListContainer'),
                        type: 0
                    }, options));
                }
                return sginalGrid;
            };
            var sginalGridRun = function(options) {
                sginalGrid = getSginalGrid(options);
                sginalGrid.run();
            };
			var run = function() {
                /* videoQueryRun();*/
                sginalGridRun({});
            };
            var editBase = null;
            var getEditBase = function(options) {

                if (!editBase) {
                    editBase = new Sginal.Edit(options);
                }
                return editBase;
            };
            var editRun = function() {
                var $container = $('.video-edit-form');
                getEditBase({
                    $container: $container
                }).run();
            };

            var sginalStatusBase = null;
            var getSginalStatusBase = function(options) {

                if (!sginalStatusBase) {
                    sginalStatusBase = new Sginal.Status(options);
                }
                return sginalStatusBase;
            };
            var sginalStatusRun = function() {
                var $container = $('#SignalStatusListContainer');
                getSginalStatusBase({
                    $container: $container
                }).run();
            };



            return {
                run: run,
				editRun:editRun,
                sginalStatusRun:sginalStatusRun,
				getSginalGrid:getSginalGrid,
            };
        })();
	}
);